
//
//  MYWithdrawListPasswordCell.swift
//  MuYing
//
//  Created by tbb on 2019/8/10.
//  Copyright © 2019 TBB. All rights reserved.
//

import UIKit

class MYWithdrawListPasswordCell: YQTableViewBaseCell {
    @objc @IBOutlet weak var titleLb: UILabel!
    
    @objc @IBOutlet weak var passwordTextField: QMUITextField!
    @IBOutlet weak var safetyBtn: UIButton!
    override func awakeFromNib() {
        super.awakeFromNib()
        self.passwordTextField.tintColor = appThemeColor;
        self.passwordTextField.placeholderColor = UIColorFromHex(rgbValue: 0xC8C8C8)
        passwordTextField.placeholder = kYQLSSwift("请输入登录密码")
        safetyBtn.setImage(UIImage(named: "icon_login_mima_dakai"), for: .normal);
        safetyBtn.setImage(UIImage(named: "icon_login_mima_guanbi"), for: .selected);
        titleLb.text = kYQLSSwift("密码")
        
    }

    @IBAction func safetyAction(_ sender: UIButton) {
        sender.isSelected = !sender.isSelected;
        self.passwordTextField.isSecureTextEntry = sender.isSelected;
    }
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
